const getters = {
  sidebar: state => state.app.sidebar,
  language: state => state.app.language,
  size: state => state.app.size,
  device: state => state.app.device,

  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,

  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  real_name: state => state.user.real_name,
  addr_code: state => state.user.addr_code,
  level: state => state.user.level,
  userId: state => state.user.userId,
  accept_status: state => state.user.accept_status,
  menulist: state => state.user.menu_list,
  introduction: state => state.user.introduction,
  roles: state => state.user.roles,
  menu_code_list: state => state.user.menu_code_list,

  permission_routes: state => state.permission.routes,

  errorLogs: state => state.errorLog.logs,

  list_workorder: state => state.workorder.list_workorder,
  list_user: state => state.workorder.list_user,
  theme: state => state.setting.theme
}
export default getters
